package ywpt.service.people;

import java.util.List;

import org.hibernate.criterion.DetachedCriteria;

import ywpt.model.PeopleExperience;

public interface ExperienceService {

	public abstract PeopleExperience getExperienceInfoById(Long id);

	public abstract int getExperienceInfoCountByCriteria(DetachedCriteria query);

	public abstract List<PeopleExperience> getExperienceInfos(
			DetachedCriteria query, int pageSize, int i);

	public abstract void saveExperienceInfo(PeopleExperience experienceInfo,Long peopleId);

	public abstract void updateExperienceInfo(PeopleExperience experienceInfo,Long peopleId);

	public abstract void removeExperienceInfo(Long id);

}
